package com.crm.model;

import java.util.List;

public class ProductPrice {
	
	private Integer id;
	
	private String name;
	
	private Float price = (float) 0;
	
	private Float limit = (float) 0;
	
	private Integer isLock = 0;
	
	private List<ProductPriceChilds> childs;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Float getLimit() {
		return limit;
	}

	public void setLimit(Float limit) {
		if(null == limit)
			this.limit = (float) 0;
		else
			this.limit = limit;
	}

	public Integer getIsLock() {
		return isLock;
	}

	public void setIsLock(Integer isLock) {
		this.isLock = isLock;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		if(null == price)
			this.price = (float) 0;
		else
			this.price = price;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public List<ProductPriceChilds> getChilds() {
		return childs;
	}

	public void setChilds(List<ProductPriceChilds> childs) {
		this.childs = childs;
	}

	
	
}
